home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _314500857B5743FE8DF40E37AFD9E8B9 < prev    next >
Encoding:
Text File  |  2006-08-04  |  876 b   |  30 lines

  1.  
  2. from PSPApp import *
  3.  
  4. def ScriptProperties():
  5.     return {
  6.         'Author': u'Corel Corporation',
  7.         'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
  8.         'Description': 'Factory default preset for ManualColorCorrection effect',
  9.         'Host': 'Paint Shop Pro 8',
  10.         'Host Version': '8.00',
  11.         }
  12.  
  13. def Preset_ManualColorCorrection():
  14.     return {
  15.         'Category': 0,
  16.         'PreserveSaturation': 0,
  17.         'SourceColor': (180, 104, 80),
  18.         'PresetColorIndex': 0,
  19.         'GeneralSettings': {
  20.             'AutoActionMode': 0,
  21.             'ExecutionMode': 0
  22.             },
  23.         'PreserveLightness': 0,
  24.         'ColorCorrection': 0,
  25.         'TargetColor': (180, 104, 80)
  26.         }
  27.  
  28. def Do(Environment):
  29.     App.Do( Environment, 'ManualColorCorrection', Preset_ManualColorCorrection())
  30.